package com.monitor.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.monitor.dao.ErpCarTireArchivesMapper;
import com.monitor.entity.ErpCarTireArchives;
import com.monitor.service.ErpCarTireArchivesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车辆轮胎档案表 服务实现类
 * </p>
 *
 * @author LX
 * @since 2018-09-27
 */
@Service
public class ErpCarTireArchivesServiceImpl extends ServiceImpl<ErpCarTireArchivesMapper, ErpCarTireArchives> implements ErpCarTireArchivesService {

    @Resource
    private ErpCarTireArchivesMapper archivesMapper;

    @Override
    public List<Map<String, Object>> getTireByCarId(String carId) {
        return archivesMapper.getTireByCarId(carId);
    }
}
